/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.unice.miage.projetjava.entities;

import javax.ejb.ActivationConfigProperty;
import javax.ejb.MessageDriven;
import javax.jms.Message;
import javax.jms.MessageListener;

/**
 *
 * @author Olivier
 */
@MessageDriven(mappedName = "jms/TransactionInProgress", activationConfig =  {
        @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"),
        @ActivationConfigProperty(propertyName = "subscriptionDurability", propertyValue = "Durable"),
        @ActivationConfigProperty(propertyName = "clientId", propertyValue = "ListeDeTransactionBean"),
        @ActivationConfigProperty(propertyName = "subscriptionName", propertyValue = "ListeDeTransactionBean")
    })
public class ListeDeTransactionBean implements MessageListener {
    
    public ListeDeTransactionBean() {
    }

    public void onMessage(Message message) {
    }
    
}
